package mq.rabbitmq.config;import org.springframework.amqp.core.Queue;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;/** * @Date: 2020/6/29 14:07 * @Description: */@Configurationpublic class DirectConfig {    @Bean    public Queue Queue() {        return new Queue("queue");    }}